package impl_player;

import besuper2.BeSuper2;
import command.PlayerCommand;
import pojo.Player;
import utils.QingkeConsole;

public class PlayerQuitCommand extends PlayerCommand {

	public PlayerQuitCommand(Player playerProfile) {
		super(playerProfile);
	}

	@Override
	public void execute() {
		BeSuper2.getInstance().setPlayerProfile(null);
		BeSuper2.main(null);
	}

}
